package com.shop.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.shop.entity.SupplierCouriers;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 骑手 yyt(SupplierCouriers)表数据库访问层
 *
 * @author makejava
 * @since 2020-11-21 10:12:52
 */
@Mapper
public interface SupplierCouriersMapper extends BaseMapper<SupplierCouriers> {

    int insertSelective(SupplierCouriers supplierCouriers);

    int updateById(SupplierCouriers updated);

    int deleteById(@Param("id")Integer id);

    List<SupplierCouriers> searchSomeByPage(@Param("superSearchKeyWord") String superSearchKeyWord, @Param("supplierCouriers") SupplierCouriers supplierCouriers);

    Integer getPhone(String phone);



}